package com.hdj.chapter18;

/**
 * @description 司令
 * @author hdj
 * @date 2017/12/14.
 */
public class Commander {
    private Command command;

    public Commander(Command command) {
        this.command = command;
    }

    /**
     * 下达命令
     */
    public void action(){
        command.exe();
    }
}
